cmake_minimum_required(VERSION 3.19)
project(repLib)

aux_source_directory( src SOURCE_FILES )

#/machine:X86
message(${CMAKE_EXE_LINKER_FLAGS})

#如果您只是直接执行add_executable()命令，则会将/SUBSYSTEM:CONSOLE /ENTRY:"mainCRTStartup"传递给链接器。
add_library( repLib ${SOURCE_FILES} )
